package tgc.edu.demo.jkxt.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.demo.jkxt.custom.BaseService;
import tgc.edu.demo.jkxt.entity.Question;
import tgc.edu.demo.jkxt.entity.Shijuan;
import tgc.edu.demo.jkxt.repository.ShijuanRepository;
@Service
public class ShijuanService extends BaseService<Shijuan, Integer>{
	@Autowired
	private ShijuanRepository shijuanDao;
	
	public List<Question> findQuestionsByShiJuanId(Integer shijuanid) {
		// TODO Auto-generated method stub
		return shijuanDao.findQuestionsByShiJuanId(shijuanid);
	}

}
